<?php
class IndexCtrl extends ControllerBackOffice {
    public function OnInit(){
        $this->IsUserAuthenticationRequired(true);
        parent::OnInit();
    }

    public function OnLoad(){
        $this->SetMenu();
        $this->SetAuthentication();
        parent::OnLoad();
    }

    public function Index() {
        $this->Smarty->assign("indexTest", date("F j, Y, g:i:s"));
    }
}